package com.isxcode.link.common.pojo;

import com.isxcode.link.common.menu.SyncType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LinkRequest {

    private String executeId;

    /*
     * 支持json配置执行
     *
     * @ispong
     */
    private String jsonConfig;

    /*
     * 支持config执行
     *
     * @ispong
     */
    private String command;

    private SyncType syncType;

    private String jdbcDriver;

    private String jdbcUrl;

    private String jdbcUsername;

    private String jdbcPassword;

    private String querySql;

    private String splitBy;

    private String targetDir;

    private String fieldsTerminatedBy;

    private boolean append;

}
